<template>
    <div class="post">
        <el-row :gutter="20">
            <el-col :span="16">
                <post_add :bus="bus"></post_add>
            </el-col>
            <el-col :span="8">
                <post_attach :bus="bus"></post_attach>
            </el-col>
        </el-row>
    </div>
</template>

<script>
    import post_add from '@/components/post_add'
    import post_attach from '@/components/post_attach'
    import Vue from 'Vue'
    var pbus = new Vue()
    export default{
        name: 'post',
        data () {
            return {
                msg: 'post',
                bus:pbus,
            }
        },
        components:{
            'post_add':post_add,
            'post_attach':post_attach
        }
    }
</script>

<style>
    .post{
        padding: 15px;
    }
</style>